<?php
/**
* This module is used for connecting the Date base
* Writed for MIF13 TP3
*/
 
$db = mysql_connect("localhost", "php", "mot_de_passe");

if (!$db) {
  die('Could not connect to DBMS!');
}

if (!mysql_select_db("photos",$db)) {
  die('Could not use the DB photoTP3!');
}
?>
